package com.defence.costomapp.db;


import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.structure.BaseModel;

/**
 * Created by Sgq
 * Create Date 2019/1/3 and 11:06
 * desc:  统计模块  筛选折线图历史记录
 */
@Table(database = LineDataBase.class)
public class LineHistoryModel extends BaseModel {

    @PrimaryKey(autoincrement = true)
    private int num;
    @Column
    private String stypeId;
    @Column
    private String machineNumbers;
    @Column
    private String guigeids;
    @Column
    private String iszhengzhanglv;
    @Column
    private String stypeId2;
    @Column
    private String machineNumbers2;
    @Column
    private String guigeids2;
    @Column
    private String iszhengzhanglv2;
    @Column
    private String stypeId3;
    @Column
    private String machineNumbers3;
    @Column
    private String guigeids3;
    @Column
    private String iszhengzhanglv3;
    @Column
    private String stypeId4;
    @Column
    private String machineNumbers4;
    @Column
    private String guigeids4;
    @Column
    private String iszhengzhanglv4;
    @Column
    private String filtername;
    @Column
    private String filtername2;
    @Column
    private String Machinename;
    @Column
    private String Machinename2;
    @Column
    private String Machinename3;
    @Column
    private String Machinename4;
    @Column
    private String mctypecyleft;
    @Column
    private String mctypecyright;
    @Column
    private String msdate;

    public String getMsdate() {
        return msdate == null ? "" : msdate;
    }

    public void setMsdate(String msdate) {
        this.msdate = msdate;
    }

    public String getMctypecyleft() {
        return mctypecyleft == null ? "" : mctypecyleft;
    }

    public void setMctypecyleft(String mctypecyleft) {
        this.mctypecyleft = mctypecyleft;
    }

    public String getMctypecyright() {
        return mctypecyright == null ? "" : mctypecyright;
    }

    public void setMctypecyright(String mctypecyright) {
        this.mctypecyright = mctypecyright;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getStypeId() {
        return stypeId == null ? "" : stypeId;
    }

    public void setStypeId(String stypeId) {
        this.stypeId = stypeId;
    }

    public String getMachineNumbers() {
        return machineNumbers == null ? "" : machineNumbers;
    }

    public void setMachineNumbers(String machineNumbers) {
        this.machineNumbers = machineNumbers;
    }

    public String getGuigeids() {
        return guigeids == null ? "" : guigeids;
    }

    public void setGuigeids(String guigeids) {
        this.guigeids = guigeids;
    }

    public String getIszhengzhanglv() {
        return iszhengzhanglv == null ? "" : iszhengzhanglv;
    }

    public void setIszhengzhanglv(String iszhengzhanglv) {
        this.iszhengzhanglv = iszhengzhanglv;
    }

    public String getStypeId2() {
        return stypeId2 == null ? "" : stypeId2;
    }

    public void setStypeId2(String stypeId2) {
        this.stypeId2 = stypeId2;
    }

    public String getMachineNumbers2() {
        return machineNumbers2 == null ? "" : machineNumbers2;
    }

    public void setMachineNumbers2(String machineNumbers2) {
        this.machineNumbers2 = machineNumbers2;
    }

    public String getGuigeids2() {
        return guigeids2 == null ? "" : guigeids2;
    }

    public void setGuigeids2(String guigeids2) {
        this.guigeids2 = guigeids2;
    }

    public String getIszhengzhanglv2() {
        return iszhengzhanglv2 == null ? "" : iszhengzhanglv2;
    }

    public void setIszhengzhanglv2(String iszhengzhanglv2) {
        this.iszhengzhanglv2 = iszhengzhanglv2;
    }

    public String getStypeId3() {
        return stypeId3 == null ? "" : stypeId3;
    }

    public void setStypeId3(String stypeId3) {
        this.stypeId3 = stypeId3;
    }

    public String getMachineNumbers3() {
        return machineNumbers3 == null ? "" : machineNumbers3;
    }

    public void setMachineNumbers3(String machineNumbers3) {
        this.machineNumbers3 = machineNumbers3;
    }

    public String getGuigeids3() {
        return guigeids3 == null ? "" : guigeids3;
    }

    public void setGuigeids3(String guigeids3) {
        this.guigeids3 = guigeids3;
    }

    public String getIszhengzhanglv3() {
        return iszhengzhanglv3 == null ? "" : iszhengzhanglv3;
    }

    public void setIszhengzhanglv3(String iszhengzhanglv3) {
        this.iszhengzhanglv3 = iszhengzhanglv3;
    }

    public String getStypeId4() {
        return stypeId4 == null ? "" : stypeId4;
    }

    public void setStypeId4(String stypeId4) {
        this.stypeId4 = stypeId4;
    }

    public String getMachineNumbers4() {
        return machineNumbers4 == null ? "" : machineNumbers4;
    }

    public void setMachineNumbers4(String machineNumbers4) {
        this.machineNumbers4 = machineNumbers4;
    }

    public String getGuigeids4() {
        return guigeids4 == null ? "" : guigeids4;
    }

    public void setGuigeids4(String guigeids4) {
        this.guigeids4 = guigeids4;
    }

    public String getIszhengzhanglv4() {
        return iszhengzhanglv4 == null ? "" : iszhengzhanglv4;
    }

    public void setIszhengzhanglv4(String iszhengzhanglv4) {
        this.iszhengzhanglv4 = iszhengzhanglv4;
    }

    public String getFiltername() {
        return filtername == null ? "" : filtername;
    }

    public void setFiltername(String filtername) {
        this.filtername = filtername;
    }

    public String getFiltername2() {
        return filtername2 == null ? "" : filtername2;
    }

    public void setFiltername2(String filtername2) {
        this.filtername2 = filtername2;
    }

    public String getMachinename() {
        return Machinename == null ? "" : Machinename;
    }

    public void setMachinename(String machinename) {
        Machinename = machinename;
    }

    public String getMachinename2() {
        return Machinename2 == null ? "" : Machinename2;
    }

    public void setMachinename2(String machinename2) {
        Machinename2 = machinename2;
    }

    public String getMachinename3() {
        return Machinename3 == null ? "" : Machinename3;
    }

    public void setMachinename3(String machinename3) {
        Machinename3 = machinename3;
    }

    public String getMachinename4() {
        return Machinename4 == null ? "" : Machinename4;
    }

    public void setMachinename4(String machinename4) {
        Machinename4 = machinename4;
    }





    public void insertData(String stypeId, String machineNumbers, String guigeids, String iszhengzhanglv,
                           String stypeId2, String machineNumbers2, String guigeids2, String iszhengzhanglv2,
                           String stypeId3, String machineNumbers3, String guigeids3, String iszhengzhanglv3,
                           String stypeId4, String machineNumbers4, String guigeids4, String iszhengzhanglv4,
                           String filtername, String filtername2, String Machinename, String Machinename2,
                           String Machinename3, String Machinename4, String mCtypecyleft, String mCtypecyright,
                           String msdate
    ) {
        this.stypeId = stypeId;
        this.machineNumbers = machineNumbers;
        this.guigeids = guigeids;
        this.iszhengzhanglv = iszhengzhanglv;

        this.stypeId2 = stypeId2;
        this.machineNumbers2 = machineNumbers2;
        this.guigeids2 = guigeids2;
        this.iszhengzhanglv2 = iszhengzhanglv2;

        this.stypeId3 = stypeId3;
        this.machineNumbers3 = machineNumbers3;
        this.guigeids3 = guigeids3;
        this.iszhengzhanglv3 = iszhengzhanglv3;

        this.stypeId4 = stypeId4;
        this.machineNumbers4 = machineNumbers4;
        this.guigeids4 = guigeids4;
        this.iszhengzhanglv4 = iszhengzhanglv4;

        this.filtername = filtername;
        this.filtername2 = filtername2;
        this.Machinename = Machinename;
        this.Machinename2 = Machinename2;
        this.Machinename3 = Machinename3;
        this.Machinename4 = Machinename4;
        this.mctypecyleft = mCtypecyleft;
        this.mctypecyright = mCtypecyright;

        this.msdate = msdate;


    }
}